//
//  UIColor+Extension.swift
//  Weibo
//
//  Created by HH on 16/12/5.
//  Copyright © 2016年 Weibo. All rights reserved.
//

import UIKit

extension UIColor{
    
    class func randomColor()->UIColor{
        
        let red = arc4random_uniform(UInt32(256))
        let blue = arc4random_uniform(UInt32(256))
        let green = arc4random_uniform(UInt32(256))
     
        
        return UIColor(red: CGFloat(red) / 255.0, green: CGFloat(green) / 255.0, blue: CGFloat(blue) / 255.0, alpha: 1)
    }
    
}
